Debian 7.0
Sponsored Link

Install Dovecot
2013/05/11
 
Install Dovecot to Configure POP/IMAP Server. This example shows to configure to provide SASL function to Postfix.
[1] Install and configure Dovecot
root@mail:~#
aptitude -y install dovecot-common dovecot-pop3d dovecot-imapd
root@mail:~#
vi /etc/dovecot/dovecot.conf
# line 26: change ( if not listen IPv6 port )

listen =
*
root@mail:~#
vi /etc/dovecot/conf.d/10-auth.conf
# line 9: uncomment and change ( allow plain text auth )

disable_plaintext_auth =
no
# line 99: add

auth_mechanisms = plain
login
root@mail:~#
vi /etc/dovecot/conf.d/10-mail.conf
# line 30: uncomment and add

mail_location =
maildir:~/Maildir
root@mail:~#
vi /etc/dovecot/conf.d/10-master.conf
# line 96-98: uncomment and add

# Postfix smtp-auth
unix_listener /var/spool/postfix/private/auth {
    mode = 0666
    user = postfix
    group = postfix
}
root@mail:~#
/etc/init.d/dovecot restart

Restarting IMAP/POP3 mail server: dovecot.
 
Tweet